package com.guo.pet_store.admin.service;

import com.guo.pet_store.admin.dao.SearchRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SearchServiceImpl implements SearchService{
    @Autowired
    SearchRepository searchRepository;
    @Override
    public List<String> autoSearch(String content) {
        return searchRepository.autoSearch(content);
    }
}
